Lua/Client/Render/Functions/FillArea
From JC2-MP Documentation
2D
Returns | none |
---|---|
Prototype | Render:FillArea(Vector2 position, Vector2 size, Color draw_color) |
Description | Draws a rect at the given position with the given size and color in 2D space. |
3D
Returns | none |
---|---|
Prototype | Render:FillArea(Vector3 position, Vector3 size, Color draw_color) |
Description | Draws a rect at the given position with the given size and color in 2D space. |
Additional Notes
- The area drawn is aligned at its top left corner.